import request from '@/utils/request'

export function getDemandPage(params) {
  return request({
    url: '/v1/demand/page',
    method: 'get',
    params
  })
}

export function updateDemand(data) {
  return request({
    url: '/v1/demand/update',
    method: 'put',
    data
  })
}
